@import './common';

// PC样式
.nav-box {
    background-color: map-get($colors, "f1f");

    ul li {
        padding: 0 20px;
        border-right: 1px solid #999;

        cursor: pointer;

        &:hover {
            color: map-get($colors, "yellow");
        }

        span {
            &:hover {
                color: map-get($colors, "yellow");
            }
        }

        a {
            &:hover {
                color: map-get($colors, "yellow");
            }

            &:link {
                color: #999;
            }

            &:visited {
                color: #999
            }
        }

        &:first-child {
            border-left: 1px solid #999;
        }
    }
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

.swiper-pagination-bullet {
    background-color: #004b97 !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    width: 15px !important;
    background-color: #f78e00 !important;
}

.title-box {
    background: map-get($colors, "blue");

    input {
        width: 300px;
        height: 36px;
        font-size: 16px;
        padding-left: 10px;
    }
}

.footer-box {
    background: map-get($colors, "333");

    .foot-left {
        img {
            width: 46px;
        }
    }

    ul li {
        cursor: pointer;
    }

    hr {
        border: none;
        height: 1px;
        background-color: #707070;
        margin-bottom: 24px;
    }

    .foot-middle {
        padding-left: 40px;
    }
}

.line-box {
    span {
        display: block;
        width: 40px;
        height: 2px;

        &:first-child {
            background: map-get($colors, "blue");
        }

        &:last-child {
            background: map-get($colors, "yellow");
        }
    }
}

.explain {
    .fs-14 {
        line-height: 30px;
    }
}

.more {
    border-radius: 100px;
    background: map-get($colors, "blue");
    padding: 8px 20px;
    cursor: pointer;
}

.major-box {
    position: relative;

    span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        cursor: default;
    }
}


// 手机样式
@media screen and (max-width: 768px) {
    .navbar img {
        width: 1.375rem;
    }

    .swiper-pagination-bullet {
        width: 0.125rem !important;
        height: 0.125rem !important;
    }

    .swiper-pagination-bullet-active {
        width: 0.1875rem !important;
        background-color: #f78e00 !important;
    }

    .swiper-pagination-bullets {
        bottom: 0 !important;
    }

    .phone-foot {
        background: #333;
    }

    .right-nav {
        background: #fff;
        width: 17.375rem;
        height: 100vh;
        position: fixed;
        z-index: 999;
        top: 0;
        box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
        right: -17.375rem;

        li {
            border-bottom: 1px solid #999;
        }
    }

    .show-menu {
        right: 0;
        transition: all 0.4s;
    }

    .col-sm-6 {
        width: 50% !important;
      }
    
      .swiper-container-three {
      position: relative;
      img {
        width: 6.75rem !important;
        margin: 0.1875rem 0;
        box-shadow: 0px 0px 0.3125rem 0px rgba(0, 0, 0, 0.1);
      }
      .swiper-button-next {
        color: map-get($colors, "blue");
        --swiper-navigation-size: 0.875rem; /* 设置按钮大小 */
        margin-right: 0 !important;
      }
      .swiper-button-prev {
        color: map-get($colors, "blue");
        --swiper-navigation-size: 0.875rem; /* 设置按钮大小 */
        margin-left: 0 !important;
      }
    }
}

.phone-type {
    a {
        &:active {
            color: #ccc;
        }

        &:link {
            color: #ccc;
        }
    }
}

.type-box {
    a {
        &:hover {
            color: #ccc;
        }

        &:link {
            color: #ccc;
        }
    }
}

//   内容样式

.swiper-container-three {
    position: relative;
    img {
      margin: 10px 0;
      box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    }
    .swiper-button-next {
      color: map-get($colors, "blue");
      --swiper-navigation-size: 28px; /* 设置按钮大小 */
      margin-right: 5%;
    }
    .swiper-button-prev {
      color: map-get($colors, "blue");
      --swiper-navigation-size: 28px; /* 设置按钮大小 */
      margin-left: 5%;
    }
  }
  
  .class-img{
      overflow: hidden;
      img:hover {
          transform: scale(1.5);
          transition: all 0.7s;
      }
  }